<script setup lang="ts">
</script>

<template>
  <div class="heart">
    <router-view v-slot="{ Component }">
      <transition>
        <keep-alive>
          <div><component :is="Component" /></div>
        </keep-alive>
      </transition>
    </router-view>
    <!-- <keep-alive>
      <router-view />
    </keep-alive> -->
  </div>
</template>

<style  lang="scss" scoped>
</style>
